package com.whfc.base.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
@ToString
public class AppWeatherDTO implements Serializable {
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;
    private String weatherCode;
    private String weather;
    private Double temperature;
    private Double maxTemperature;
    private Double minTemperature;
    private Double precipitation;
    private Integer windDirection;
    private Integer windPower;
    private Double windSpeed;
    private String aqi;
    private String aqiInfo;
    private String aqiLevel;
    private String weatherPic;
    private Integer weekday;
    private Integer deptId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private Date updateTime;
}
